package com.hps.shiro.auth;

/**
 * @author heps
 * @since 2020/6/8 19:53
 */
public class UserHolder {
  private static ThreadLocal<String> userInfo = new ThreadLocal<>();

  public static String getUserInfo() {
    return userInfo.get();
  }

  public static void setUserInfo(String user) {
    userInfo.set(user);
  }
}
